<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>发布招标</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../elementUI/index.css">
    <link rel="stylesheet" href="../../../css/index.css">
</head>

<body>
    <div id="app" class="minWidth">
        <el-form ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">标品信息</div>
            </div>
            <!-- <el-form-item>
                <el-image v-if="form.Picture_URL!= undefined" style="width: 200px; height: 200px"
                :src="DomainIMG + form.Picture_URL"></el-image>
            </el-form-item> -->
            </el-descriptions>
            <el-descriptions :column="4" border size="small">
                <el-descriptions-item label="商品名称">
                    <el-form-item prop="Article_Name">
                        <span>{{form.Article_Name}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="挂单标题">
                    <el-form-item>
                        <span>{{form.Group_Purchasing_Name}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="保证方式">
                    <el-form-item>
                        <span>{{form.Guarantee_Method}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="商品价格">
                    <el-form-item prop="Amount">
                        <span>{{form.Amount}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="商品总量">
                    <el-form-item prop="Total_Quantity">
                        <span>{{form.Total_Quantity+form.Article_Unit_SerialNumber}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="联系人">
                    <el-form-item prop="Contacts">
                        <span>{{form.Contacts}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="联系人手机号">
                    <el-form-item prop="Contacts_Phone">
                        <span>{{form.Contacts_Phone}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="企业名称">
                    <el-form-item prop="Enterprise_Name">
                        <span>{{form.Enterprise_Name}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="交货时间">
                    <el-form-item prop="Item_SerialNumber">
                        <span>{{form.Delivery_Time}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="交易地点">
                    <el-form-item prop="Item_SerialNumber">
                        <span>{{form.Transaction_Location}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="质量验收方式">
                    <el-form-item prop="Quality_Acceptance_Method">
                        <span>{{form.Quality_Acceptance_Method}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="数量验收方式">
                    <el-form-item prop="quantityInspection">
                        <span>{{form.Quantity_Acceptance_Method}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="交收方式">
                    <el-form-item prop="quantityInspection">
                        <span>{{form.Delivery_Method}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="起步价">
                    <el-form-item prop="Starting_Quantity">
                        <span>{{form.Starting_Quantity}}</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="补充条款">
                    <el-form-item>
                        <span>{{form.Supplementary_Provisions}}</span>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <div class="table_titel">
                <div class="titel">卖家信息</div>
            </div>
            <el-descriptions :column="3" border size="small">
                <el-descriptions-item label="卖主姓名">
                    <el-form-item>
                        <el-input v-model="formData.Seller_Contact" placeholder="请输入您的姓名" />
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="卖主手机号">
                    <el-form-item>
                        <el-input v-model="formData.Seller_Contact_Phone" placeholder="请输入内容" />
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="预约时间">
                    <el-form-item prop="Reservation_Time">
                        <div class="block">
                            <el-date-picker v-model="formData.Reservation_Time" type="datetime"
                                value-format="yyyy-MM-dd HH:mm:ss" placeholder="选择日期时间">
                            </el-date-picker>
                        </div>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <div class="table_titel">
                <div class="titel">交收方式</div>
            </div>
            <el-descriptions :column="4" border size="small">
                <el-descriptions-item label="打款方式">
                    <el-form-item prop="Trading_Type">
                        <el-select clearable v-model="formData.Trading_Type" placeholder="请选择打款方式">
                            <el-option v-for="(item,i) in Trading_Type" :key="i" :label="item.Trading_Type"
                                :value="item.Trading_Type">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="装运方式">
                    <el-form-item prop="Shipment_Type">
                        <el-select clearable v-model="formData.Shipment_Type" placeholder="请选择装运方式">
                            <el-option v-for="(item,i) in Shipment_Type" :key="i" :label="item.Shipment_Type"
                                :value="item.Shipment_Type">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="运输方式">
                    <el-form-item prop="Transport_Type">
                        <el-select clearable v-model="formData.Transport_Type" placeholder="请选择运输方式">
                            <el-option v-for="(item,i) in Transport_Type" :key="i" :label="item.Transport_Type"
                                :value="item.Transport_Type">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="付款方式">
                    <el-form-item prop="Payment_Type">
                        <el-select clearable v-model="formData.Payment_Type" placeholder="请选择付款方式">
                            <el-option v-for="(item,i) in Payment_Type" :key="i" :label="item.Payment_Type"
                                :value="item.Payment_Type">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <el-form-item class="form-operation">
                <el-input-number v-model="num" :step="Number(form.Starting_Quantity)"
                    :min="Number(form.Starting_Quantity)" :max="Number(form.Total_Quantity)"
                    label="描述文字"></el-input-number>
                <el-button @click="window.history.back()">返回</el-button>
                <el-button type="primary" :loading="loading"
                    @click="Inventory(form.Group_Seek_Purchase_SerialNumber)">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
    <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../js/vue.min.js"></script>
    <script type="text/javascript" src="../../../elementUI/index.js"></script>
    <script type="text/javascript" src="../../../js/utils.js"></script>
    <script type="text/javascript" src="../../../js/ID_Validity.js"></script>
    <script type="text/javascript" src="../../../js/compressor.js"></script>
    <script type="text/javascript" src="../../../js/FileSaver.min.js"></script>
    <script type="text/javascript" src="../../../js/FileSaver.js"></script>
    <script type="text/javascript" src="../../../js/xlsx.full.min.js"></script>
    <script type="text/javascript" src="./js/EditDetails.js"></script>
</body>

</html>